package cn.edu.ujn.bmis.service.imp;

import java.util.List;

import javax.annotation.Resource;

import org.springframework.stereotype.Component;

import cn.edu.ujn.bmis.dao.SysFunctionDao;
import cn.edu.ujn.bmis.model.SysFunction;
import cn.edu.ujn.bmis.service.SysFunctionManager;

@Component("sysFunctionManager")
public class SysFunctionManagerImp implements SysFunctionManager {
	
	private SysFunctionDao sysFunctionDao;

	public List<SysFunction> findSysFunction(String hql) {
		
		return sysFunctionDao.findSysFunction(hql);
	}

	public SysFunctionDao getSysFunctionDao() {
		return sysFunctionDao;
	}
	
	@Resource(name="sysFunctionDao")
	public void setSysFunctionDao(SysFunctionDao sysFunctionDao) {
		this.sysFunctionDao = sysFunctionDao;
	}
	
}
